package com.ysstech.kettle.service;

import com.ysstech.common.entity.PageBean;
import com.ysstech.kettle.entity.JobTask;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lishuangliang
 * @since 2022-10-11
 */
public interface JobTaskService extends IService<JobTask> {
    /**
     * 查询作业任务信息
     *
     * @param jobTask
     * @param pageBean
     * @return
     * @throws Exception
     */
    public PageBean<JobTask> queryAllJobTask(JobTask jobTask, PageBean pageBean) throws Exception;

    /**
     * 查询一个采集任务下的每个采集分类下的作业任务
     *
     * @param jobTask
     * @return
     */
    public List<JobTask> queryJobTask(JobTask jobTask) throws Exception;
}
